package com.vlin.config.tuya;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ThreadPoolProperty {

	@Value("${vlin.pulsar.retry:3}")
	private int retry;
	@Value("${vlin.pulsar.num:3}")
	private int num;

	public int getRetry() {
		return retry;
	}

	public void setRetry(int retry) {
		this.retry = retry;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	@Override
	public String toString() {
		return "ThreadPoolProperty [retry=" + retry + ", num=" + num + "]";
	}
	
	
	
}
